*{
    margin: 0;
    padding: 0;
}


body{
    height: 100vh;
    display: flex;
}



h1 {
    background: none;
    text-align: center;
    margin: 20px 0;
    color: black;
}

button{
    /*相对定位*/
    margin-left: 80%;
    position: absolute;
    margin-top: 40px;
    width: 120px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;
    color: white;
    /*渐变背景*/
    background: black;
    /*背景渐变色大小*/
    background-size: 400px;
    /*圆角*/
    border-radius: 10px;
    z-index: 1;
    transition: 0.5s;
}


.header{
    background: #b2bec3;
    width: 100%;
    height: 100%;
}


.container{

    margin-left: 20%;
    margin-top: 5%;
    border: 10px solid #38ada9;
    width: 60%;
    height: 80%;
    background: white;
    border-radius: 10px;
}



.purchase_img{

    width: 100%;
    height: 50%;
    /*border: 10px solid orange;*/
    background: #dfe6e9;
    border-radius: 10px;
}

#purchase_name{
    margin-top: 10px;
    background: #27ae60;
    /*color: #d63031;*/
    width: 30%;
    height: 30%;
    float: left;
    border: 5px solid white;
}


.purchase_detail{
    margin-top: 10px;
    width: 100%;
    height: 30%;
    background: #2d3436;
    border: 5px solid rebeccapurple;

}


#purchase_btn{
    position: relative;
    margin-top: 20px;
    margin-left: 50%;

}

#purchase_btn:hover{
    background: #d3c0c0;
}